package com.ruoyan.service;


import com.ruoyan.pojo.Employee;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collection;
import java.util.List;

/**
 * @Package: com.ruoyan.service
 * @ClassName: EmployManageService
 * @Author: ruoyan1998
 * @CreateTime: 2021/5/16 14:54
 * @Description:
 */
public interface EmployManageService
{
    List<Employee> queryEmployeeList();

    int addEmployee(Employee employee);

    Employee queryEmployeeById(int id);

    List<Employee> queryEmployeeByDid(int did);

    Employee queryEmployeeByIdAndDid(int id,int did);

    int updateEmployee(Employee employee);

    int deleteEmployee(int id);

}
